package com.yrh.service;

import com.yrh.bean.TOrder;

import java.util.List;

/*订单业务层接口*/
public interface TOrderService {
    //查询所有订单(包含分页)
    public List<TOrder> allOrder(TOrder tOrder,String userRole,int uid, int nowPage, int size);
    //修改订单状态
    public int updateType(TOrder tOrder);
    //生成订单
    public int addOrder(TOrder order);
    //查询最新订单
    int maxOrderId();
}
